const path = require("path");
const resolve = (dir) => {
  return path.join(__dirname, dir);
};
module.exports = {
  devServer: {
    port: 12000,
    open: true,
    proxy: {
      "/common": {
        target: `http://82.156.242.30:8889`,
        changeOrigin: true,
        pathRewrite: {
          "^/": "", //请求的时候使用这个api就可以
        },
      },
    },
  },
};
